package com.mla.fastdfs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 上传明细
 * </p>
 *
 * @author astupidcoder
 * @since 2021-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("upload_up_info")
public class UploadUpInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 文件别名
     */
    private String anotherName;

    /**
     * 文件大小
     */
    private Long fileSize;

    /**
     * 文件url
     */
    private String fileUrl;

    /**
     * ip
     */
    private String ip;

    /**
     * 上传唯一表示
     */
    private String flag;

    /**
     * 总片段数
     */
    private Integer partNum;

    /**
     * 上传开始日期
     */
    private String startTime;

    /**
     * 上传完成日期
     */
    private String endTime;

    private String uid;

    private Integer groupId;

    private String createTime;

    private String zipPass;

}
